package com.zsl.picture.mapper;

import com.zsl.picture.model.Photo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 存放照片 Mapper 接口
 * </p>
 *
 * @author zsl
 * @since 2022-03-03
 */
@Mapper
public interface PhotoMapper extends BaseMapper<Photo> {

    /**
     * 查询图片
     * @return
     */
    List<Photo> selectPhotos(Photo photo);
}
